public class People{
    int leg,hand;
    String name;
    People(String s){
        name=s;
        this.init();   //¿ÉÒÔÊ¡ÂÔthis£¬¼´½«this.init();Ð´³Éinit();
    }
    void init(){
       leg=2;
       hand=2;
       System.out.println(name+"ÓÐ"+hand+"Ö»ÊÖ"+leg+"ÌõÍÈ");
    }
    public static void main(String args[]){
      People boshi=new People("²¼Ê²"); //´´½¨boshiÊ±£¬¹¹Ôì·½·¨ÖÐµÄthis¾ÍÊÇ¶ÔÏóboshi
    }
} 



